package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 辉辉 2023/2/20 16:01
 */
@Data
public class MateInventoryTypeChangeLogModeInfo extends MateInventoryTypeChangeLogInfo {

    @Schema(description = "商品SKU")
    private String mateSku;

    @Schema(description ="商品SKU名称")
    private String mateSkuName;

    @Schema(description ="库存成本价")
    private BigDecimal costPrice;

    @Schema(description ="变更数量")
    private Integer qty;

    @Schema(description = "采购批次")
    private String purchaseCode;

    @Schema(description = "生产批次")
    private String produceCode;

    @Schema(description ="原产国")
    private String countryOfOrigin;

    @Schema(description ="商品生产日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productDate;

    @Schema(description ="商品过期日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date expireDate;

}
